package com.osi.mes.print;

public interface IPrintConstants {
	
	long PRINT_RECORD_TYPE_PRINT = 0;
	long PRINT_RECORD_TYPE_REPRINT = 1;
	
	String MATERIAL_BARCODE_MARKER = "T1,T2,T3,T4,T5,T6";
	String LOT_BARCODE_MARKER = "T1,T2,T3,T4,T5";
	
	// Wildcard
	String WILDCARD_YEAR = "\\[Y\\]"; // year
	String WILDCARD_MONTH = "\\[M\\]"; // month
	String WILDCARD_DAY = "\\[D\\]"; // day
	String WILDCARD_SN = "\\[[#]*\\]"; // serial number
	String WILDCARD_WEEK = "\\[W\\]"; // week

	// Barcode Type
	int BARCODE_TYPE_MATERIAL = 1;			//物料条码
	int BARCODE_TYPE_LOT = 2;				//产品条码
	int BARCODE_TYPE_SAMPLE = 3;			//采样条码
	
	String BARCODE_RULE = "TEST[Y][M][D][###]";
	
	// SN Prefix
	String SN_PREFIX = "0";
	
	String DATE_TIME_FORMAT_DAY = "yyyy-MM-dd";
}
